/* 重新布局 */
#select_all_div {
  width: 30px;
  height: 30px;
  position: absolute;
  z-index: 10000;
  background: #eee;
}

#mc_svg_head {
  height: 30px;
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 999;
  background: #eee;
}

#mc_svg_nav {
  width: 30px;
  position: absolute;
  left: 0;
  top: 30px;
  z-index: 999;
  background: #eee;
}

#mc_svg {
  position: absolute;
  top: 30px;
  left: 30px;
}

.onclik_choose {
  position: absolute;
}

/* 鼠标移动主体的div */
#div_hover_content {
  position: absolute;
  background: #0002f1;
  top: 0;
  left: 0;
  /* opacity: 0.5; */
  display: none;
  z-index: -1;
}

#div_hover_head {
  position: absolute;
  background: #0002f1;
  top: 0;
  left: 0;
  opacity: 0.5;
  display: none;
  z-index: -1;
}

#div_hover_nav {
  position: absolute;
  background: #0002f1;
  top: 0;
  left: 0;
  opacity: 0.5;
  display: none;
  z-index: -1;
}

/* 鼠标点击主体svg生成的div */
#div_click {
  position: absolute;
  background: #ffcd0d;
  top: 0;
  left: 0;
  opacity: 0.7;
  display: none;
  /* z-index: -1; */
}

.click_creat_div {
  /* display: inline */
  position: absolute;
  background: #ffcd0d;
  opacity: 0.7;
  text-align: center;
  font-size: 12px;
  /* 取消鼠标移动时选中文字 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.click_creat_div:hover {
  cursor: default;
}

.choose_creat_div {
  background: #4343f1;
  color: #fff;
}

/* 框选样式 */
.box_selection_creat_div {
  background: #037136;
  color: #fff;
}

.box_selection_creat_div:hover {
  cursor: pointer;
}

/* 框选之后外框div */
.box_selection_wrap_div {
  position: absolute;
  top: 0;
  left: 0;
  /* border: 1px solid #025619; */
  display: none;
  z-index: 2;
}

/* 框选之后外框div的下标 */
.small_div {
  background: #025619;
  height: 4px;
  width: 4px;
  position: absolute;
  right: -2px;
  bottom: -2px;
  border: 1px solid #025619;
  border-radius: 1px;
  border-radius: 0.5px;
}

.small_div:hover {
  cursor: pointer;
}

text {
  /* 取消鼠标移动时选中文字 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* 设置矩阵样式 */
.rect_border_right {
  stroke-dasharray: 50, 50, 100
}

/* 头部边框 */
.rect_border_left {
  /* stroke-dasharray: 90, 30 */
  stroke-dashoffset: 0;
}

/* 侧边栏边框 */
.rect_border_top {
  /* stroke-dasharray: 30, 100; */
  stroke-dashoffset: 0;
}


/* 覆盖框选div样式 */
.box_selection_wrap_div {
  /* width: 50px;
  height: 50px;
  margin: 50px; */
  border-top: 2px solid #025619;
  border-left: 2px solid #025619;
  /* position: relative; */
}

/* 选中外框div添加右边框 */
/* .box_selection_wrap_div:before {
  content: '';
  position: absolute;
  right: 0;
  height: attr(data-height);
  width: 2px;
  background-color: #025619;
} */

/* 选中外框div添加下边框 */
.box_selection_wrap_div:after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  width: attr(data-width);
  background-color: #025619;
}

#virtual_div {
  position: absolute;
}